<?php
header('Pragma: public');   // required
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Type: application/force-download");
header("Content-Description: File Transfer");
header('Content-Type: '.mime_content_type("../../../content/".$_GET['file']));
header("Content-Disposition: attachment; filename=".str_replace(" ","_",basename($_GET['file'])));
header("Content-Transfer-Encoding: binary");
header('Content-Length: '.filesize("../../../content/".$_GET['file']));
readfile("../../../content/".$_GET['file']);
?>